home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / uhren & terminkalender / time / sunclock / source / makefile < prev    next >
Makefile  |  1996-04-07  |  1KB  |  38 lines

  1. #
  2. # Makefile for SunClock
  3. #
  4. # Source debugging options:
  5. # CFLAGS = -bs
  6. # LNFLAGS = -g 
  7. #
  8. CFLAGS = -fa -su -ss -sf -wc -wp 
  9. # -hi /includes.pre
  10. #
  11. # These options mean:
  12. # -fa use amiga floating point
  13. # -su pick register vars
  14. # -ss eliminate duplicate strings
  15. # -sf use faster for() code at expense of sdb
  16. # -wp warn me if there are any function calls without prototypes
  17. # -wc Don't warn me about (char *) to (unsigned char *) conversions
  18. # -hi use /includes.pre for precompiled includes.
  19. #
  20. OBJECTS = main.o astro.o sun.o Timer.o Options.o Menus.o \
  21.     iconimage.o mainimage.o
  22.  
  23. SRC =  Options.c Main.c Images.h Astro.c Timer.c Sun.c sunmath.h \
  24.         Menus.c IconImage.c MainImage.c Makefile
  25. DOC = Contents Contents.info SunClock.prowrite SunClock.prowrite.info \
  26.         sunclock.doc sunclock.doc.info
  27. BIN = SunClock SunClock.info
  28.  
  29. SunClock: $(OBJECTS)
  30.     ln -o SunClock +cd $(OBJECTS) -lma -lc
  31.  
  32. src.lha: $(SRC)
  33.     lz -0 u src.lha $(SRC)
  34.  
  35. dist: $(BIN) $(DOC) src.lha
  36.     -makedir distribution
  37.     copy $(BIN) $(DOC) src.lha distribution
  38.